import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { System } from './system.entity';
import { SystemController } from './system.controller';
import { SystemService } from './system.service';
import { UserModule } from 'src/user/user.module';
import { DeptModule } from 'src/dept/dept.module';

@Module({
    imports: [
        TypeOrmModule.forFeature([System]),
        UserModule,
        DeptModule
    ],
    controllers: [SystemController],
    providers: [SystemService],
    exports: [SystemService]
})
export class SystemModule { }
